namespace Infrastructure.Data.Uow.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class UpdateAutoPushTimer : DbMigration
    {
        public override void Up()
        {
            AddColumn("AutoPushTimer", "BeginHour", c => c.Int(nullable: false));
            AddColumn("AutoPushTimer", "EndHour", c => c.Int(nullable: false));
            AddColumn("AutoPushTimer", "BeninMinute", c => c.Int(nullable: false));
            AddColumn("AutoPushTimer", "EndMinute", c => c.Int(nullable: false));
            DropColumn("AutoPushTimer", "BeginTime");
            DropColumn("AutoPushTimer", "EndTime");
        }
        
        public override void Down()
        {
            AddColumn("AutoPushTimer", "EndTime", c => c.Int(nullable: false));
            AddColumn("AutoPushTimer", "BeginTime", c => c.Int(nullable: false));
            DropColumn("AutoPushTimer", "EndMinute");
            DropColumn("AutoPushTimer", "BeninMinute");
            DropColumn("AutoPushTimer", "EndHour");
            DropColumn("AutoPushTimer", "BeginHour");
        }
    }
}
